package org.company.earth.exception;

public class BaseException extends Exception {
	
	private Integer code;
	
	private String msg;

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
	
	public BaseException(Integer code,String msg) {
		this.code = code;
		this.msg = msg;
	}
	
	public BaseException(Integer code,String msg,Throwable e) {
		super(e);
		this.code = code;
		this.msg = msg;
	}
}
